<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'rapport-evaluation-form',
	'enableAjaxValidation'=>false,
	'htmlOptions'=>array('enctype'=>'multipart/form-data'),
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>
	
	<?php /* 
	<div class="row">
		<?php echo $form->labelEx($model,'security_key'); ?>
		<?php echo $form->textField($model,'security_key',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'security_key'); ?>
	</div>
	*/?>
	
	<div class="row">
		<?php echo $form->labelEx($model,'status'); ?>
		<?php echo $form->textField($model,'status',array('size'=>7,'maxlength'=>7)); ?>
		<?php echo $form->error($model,'status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pdf_original'); ?>
		<?php echo $form->textField($model,'pdf_original',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'pdf_original'); ?>
	</div>

	<?php /* 
	<div class="row">
		<?php echo $form->labelEx($model,'pdf_final'); ?>
		<?php echo $form->textField($model,'pdf_final',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'pdf_final'); ?>
	</div>
	*/?>

	<div class="row">
		<?php echo $form->labelEx($model,'note'); ?>
		<?php echo $form->textField($model,'note'); ?>
		<?php echo $form->error($model,'note'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date_remise'); ?>
		<?php echo $form->textField($model,'date_remise'); ?>
		<?php echo $form->error($model,'date_remise'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'jour_retard'); ?>
		<?php echo $form->textField($model,'jour_retard'); ?>
		<?php echo $form->error($model,'jour_retard'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'confidentiel'); ?>
		<?php echo $form->textField($model,'confidentiel'); ?>
		<?php echo $form->error($model,'confidentiel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'resume_fr'); ?>
		<?php echo $form->textArea($model,'resume_fr',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'resume_fr'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'resume_en'); ?>
		<?php echo $form->textArea($model,'resume_en',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'resume_en'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mot_cle_fr'); ?>
		<?php echo $form->textField($model,'mot_cle_fr',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'mot_cle_fr'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mot_cle_en'); ?>
		<?php echo $form->textField($model,'mot_cle_en',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'mot_cle_en'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'rapportMarksheet_id'); ?>
		<?php echo $form->textField($model,'rapportMarksheet_id'); ?>
		<?php echo $form->error($model,'rapportMarksheet_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'plagiat_percentage'); ?>
		<?php echo $form->textField($model,'plagiat_percentage'); ?>
		<?php echo $form->error($model,'plagiat_percentage'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'Original PDF'); ?>
		<?php echo $form->fileField($model,'file'); ?>
		<?php echo $form->error($model,'original_pdf'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->